home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 November / Chip Kasım 2001.iso / prog / cdcode / vmware / setup.exe / data1.cab / Win2000Inf / netvmware.inf
Encoding:
INI File  |  2001-09-19  |  12.8 KB  |  311 lines

  1. ; netvmware.inf
  2. ;
  3. ; Windows 2000 information file for:
  4. ; VMware host virtual ethernet interfaces and services
  5. ;
  6. ; Used by:
  7. ; The network class installer to install the components
  8. ;
  9. ; For more information, look at the Device Driver Kit documentation --hpreg
  10.  
  11. ; System-defined, required section
  12. ; First section by convention --hpreg
  13. [Version]
  14.  ; Valid value required
  15.  ; This file is for Windows 2000 only --hpreg
  16.  Signature  = "$Windows NT$"
  17.  ; Pre-defined device setup class to use: Network Adapter
  18.  ; Providing the 2nd value speeds up the device install --hpreg
  19.  Class      = Net
  20.  ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
  21.  ; Provider of this file --hpreg
  22.  Provider   = %CompanyName%
  23.  ; XXX Should have a DriverVer entry --hpreg
  24.  
  25. ; System-defined, required section
  26. ; This is the table of content of this file --hpreg
  27. [Manufacturer]
  28.  ; List device manufacturers, and their associated Models section --hpreg
  29.  %CompanyName% = VMware_Models
  30.  
  31. ; User-defined Models section --hpreg
  32. [VMware_Models]
  33.  ; List devices from a manufacturer, their associated DDInstall section, and
  34.  ; their unique-to-this-file, vendor-defined hardware identifier used by the
  35.  ; PnP manager --hpreg
  36.  ; XXX Our hw-ids do not comply w/ the w2k DDK. They should at least begin
  37.  ;     with VMWARE_ --hpreg
  38.  %VMnet0.DeviceDesc% = VMnet0_DDInstall,  *VMnet0
  39.  %VMnet1.DeviceDesc% = VMnet1_DDInstall,  *VMnet1
  40.  %VMnet2.DeviceDesc% = VMnet2_DDInstall,  *VMnet2
  41.  %VMnet3.DeviceDesc% = VMnet3_DDInstall,  *VMnet3
  42.  %VMnet4.DeviceDesc% = VMnet4_DDInstall,  *VMnet4
  43.  %VMnet5.DeviceDesc% = VMnet5_DDInstall,  *VMnet5
  44.  %VMnet6.DeviceDesc% = VMnet6_DDInstall,  *VMnet6
  45.  %VMnet7.DeviceDesc% = VMnet7_DDInstall,  *VMnet7
  46.  %VMnet8.DeviceDesc% = VMnet8_DDInstall,  *VMnet8
  47.  %VMnet9.DeviceDesc% = VMnet9_DDInstall,  *VMnet9
  48.  
  49. ;
  50. ; User-defined (sub)sections for the devices
  51. ; The .Services subsection specifies which services to install when a
  52. ; particular device is installed --hpreg
  53. ;
  54.  
  55. [VMnet0_DDInstall]
  56.  ; The component is a virtual adapter --hpreg
  57.  Characteristics    = 0x1  ; NCF_VIRTUAL
  58.  AddReg            = VMnetx_Registry, VMnet0.params
  59.  
  60. [VMnet0_DDInstall.Services]
  61.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  62.  
  63. [VMnet0.params]
  64.  HKR,, VMnet, 0, "\DosDevices\VMnet0"
  65. [VMnet0_DDInstall.CoInstallers]
  66.  AddReg = VMnet0_DDInstall.CoInstallers_AddReg
  67. [VMnet0_DDInstall.CoInstallers_AddReg]
  68.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe0"
  69.  
  70. [VMnet1_DDInstall]
  71.  ; The component is a virtual adapter --hpreg
  72.  Characteristics    = 0x1  ; NCF_VIRTUAL
  73.  AddReg            = VMnetx_Registry, VMnet1.params
  74.  
  75. [VMnet1_DDInstall.Services]
  76.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  77.  ; Start an additional DHCPd service on this particular interface
  78.  ; XXX This is hackish. It should always be installed, whether the VMware host
  79.  ;     virtual ethernet interfaces are installed or not --hpreg
  80.  ; XXX Why don't we want to clobber anything? And why 0xF8 instead of
  81.  ;     0x1F8? --hpreg
  82.  AddService             = %Dhcpd.Service.Name%, 0xF8, Dhcpd_Service, Dhcpd_EventLog, %Dhcpd.EventLog.Type%, %Dhcpd.EventLog.Name%
  83.  
  84. [VMnet1.params]
  85.  HKR,, VMnet, 0, "\DosDevices\VMnet1"
  86. [VMnet1_DDInstall.CoInstallers]
  87.  AddReg = VMnet1_DDInstall.CoInstallers_AddReg
  88. [VMnet1_DDInstall.CoInstallers_AddReg]
  89.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe1"
  90.  
  91. [VMnet2_DDInstall]
  92.  ; The component is a virtual adapter --hpreg
  93.  Characteristics    = 0x1  ; NCF_VIRTUAL
  94.  AddReg            = VMnetx_Registry, VMnet2.params
  95.  
  96. [VMnet2_DDInstall.Services]
  97.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  98.  
  99. [VMnet2.params]
  100.  HKR,, VMnet, 0, "\DosDevices\VMnet2"
  101. [VMnet2_DDInstall.CoInstallers]
  102.  AddReg = VMnet2_DDInstall.CoInstallers_AddReg
  103. [VMnet2_DDInstall.CoInstallers_AddReg]
  104.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe2"
  105.  
  106. [VMnet3_DDInstall]
  107.  ; The component is a virtual adapter --hpreg
  108.  Characteristics    = 0x1  ; NCF_VIRTUAL
  109.  AddReg            = VMnetx_Registry, VMnet3.params
  110.  
  111. [VMnet3_DDInstall.Services]
  112.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  113.  
  114. [VMnet3.params]
  115.  HKR,, VMnet, 0, "\DosDevices\VMnet3"
  116. [VMnet3_DDInstall.CoInstallers]
  117.  AddReg = VMnet3_DDInstall.CoInstallers_AddReg
  118. [VMnet3_DDInstall.CoInstallers_AddReg]
  119.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe3"
  120.  
  121. [VMnet4_DDInstall]
  122.  ; The component is a virtual adapter --hpreg
  123.  Characteristics    = 0x1  ; NCF_VIRTUAL
  124.  AddReg            = VMnetx_Registry, VMnet4.params
  125.  
  126. [VMnet4_DDInstall.Services]
  127.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  128.  
  129. [VMnet4.params]
  130.  HKR,, VMnet, 0, "\DosDevices\VMnet4"
  131. [VMnet4_DDInstall.CoInstallers]
  132.  AddReg = VMnet4_DDInstall.CoInstallers_AddReg
  133. [VMnet4_DDInstall.CoInstallers_AddReg]
  134.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe4"
  135.  
  136. [VMnet5_DDInstall]
  137.  ; The component is a virtual adapter --hpreg
  138.  Characteristics    = 0x1  ; NCF_VIRTUAL
  139.  AddReg            = VMnetx_Registry, VMnet5.params
  140.  
  141. [VMnet5_DDInstall.Services]
  142.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  143.  
  144. [VMnet5.params]
  145.  HKR,, VMnet, 0, "\DosDevices\VMnet5"
  146. [VMnet5_DDInstall.CoInstallers]
  147.  AddReg = VMnet5_DDInstall.CoInstallers_AddReg
  148. [VMnet5_DDInstall.CoInstallers_AddReg]
  149.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe5"
  150.  
  151. [VMnet6_DDInstall]
  152.  ; The component is a virtual adapter --hpreg
  153.  Characteristics    = 0x1  ; NCF_VIRTUAL
  154.  AddReg            = VMnetx_Registry, VMnet6.params
  155.  
  156. [VMnet6_DDInstall.Services]
  157.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  158.  
  159. [VMnet6.params]
  160.  HKR,, VMnet, 0, "\DosDevices\VMnet6"
  161. [VMnet6_DDInstall.CoInstallers]
  162.  AddReg = VMnet6_DDInstall.CoInstallers_AddReg
  163. [VMnet6_DDInstall.CoInstallers_AddReg]
  164.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe6"
  165.  
  166. [VMnet7_DDInstall]
  167.  ; The component is a virtual adapter --hpreg
  168.  Characteristics    = 0x1  ; NCF_VIRTUAL
  169.  AddReg            = VMnetx_Registry, VMnet7.params
  170.  
  171. [VMnet7_DDInstall.Services]
  172.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  173.  
  174. [VMnet7.params]
  175.  HKR,, VMnet, 0, "\DosDevices\VMnet7"
  176. [VMnet7_DDInstall.CoInstallers]
  177.  AddReg = VMnet7_DDInstall.CoInstallers_AddReg
  178. [VMnet7_DDInstall.CoInstallers_AddReg]
  179.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe7"
  180.  
  181. [VMnet8_DDInstall]
  182.  ; The component is a virtual adapter --hpreg
  183.  Characteristics    = 0x1  ; NCF_VIRTUAL
  184.  AddReg            = VMnetx_Registry, VMnet8.params
  185.  
  186. [VMnet8_DDInstall.Services]
  187.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  188.  
  189. [VMnet8.params]
  190.  HKR,, VMnet, 0, "\DosDevices\VMnet8"
  191. [VMnet8_DDInstall.CoInstallers]
  192.  AddReg = VMnet8_DDInstall.CoInstallers_AddReg
  193. [VMnet8_DDInstall.CoInstallers_AddReg]
  194.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe8"
  195.  
  196. [VMnet9_DDInstall]
  197.  ; The component is a virtual adapter --hpreg
  198.  Characteristics    = 0x1  ; NCF_VIRTUAL
  199.  AddReg            = VMnetx_Registry, VMnet9.params
  200.  
  201. [VMnet9_DDInstall.Services]
  202.  AddService        = %Driver.Service.Name%, 2, Driver_Service, Driver_EventLog, %Driver.EventLog.Type%, %Driver.EventLog.Name%
  203.  
  204. [VMnet9.params]
  205.  HKR,, VMnet, 0, "\DosDevices\VMnet9"
  206. [VMnet9_DDInstall.CoInstallers]
  207.  AddReg = VMnet9_DDInstall.CoInstallers_AddReg
  208. [VMnet9_DDInstall.CoInstallers_AddReg]
  209.  HKR,,CoInstallers32,0x00010000,"vnetprobelib.dll,VnetProbe9"
  210.  
  211. ; User-defined Registry section
  212. ; Registry settings common to all our devices
  213. ; In the contexts where this section is referenced, HKR is HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\<ClassGUID>\<device-instance-id> --hpreg
  214. [VMnetx_Registry]
  215.  ; Associate a device driver service to the device --hpreg
  216.  HKR, Ndi,                         Service,    0,  %Driver.Service.Name%
  217.  ; Binding interfaces
  218.  ;  XXX Maybe this one should be "ethernet" even for a virtual adapter, but
  219.  ;      does it really matter anyway? --hpreg
  220.  HKR, Ndi\Interfaces,              LowerRange, 0,  "nolower"
  221.  HKR, Ndi\Interfaces,              UpperRange, 0,  "ndis5"
  222.  
  223. ; User-defined Service section
  224. ; Information for installing the device driver service --hpreg
  225. [Driver_Service]
  226.  DisplayName    = %Driver.Service.DispName%
  227.  Description    = %Driver.Service.Desc%
  228.  ServiceType    = 1    ; SERVICE_KERNEL_DRIVER
  229.  StartType      = 3    ; SERVICE_DEMAND_START
  230.  ErrorControl   = 1    ; SERVICE_ERROR_NORMAL
  231.  ; XXX This probably assumes that the driver has been installed in the system's
  232.  ;     driver's directory. Who puts it there? Is it done via a .inf
  233.  ;     file with a DestinationDirs/CopyFiles directive? --hpreg
  234.  ServiceBinary  = %12%\vmnetx.sys
  235.  LoadOrderGroup = NDIS
  236.  Dependencies    = VMnet    ; depends on VMnet driver/service running
  237.  
  238. ; User-defined EventLog section
  239. ; Setup of the event-logging of the device driver service --hpreg
  240. [Driver_EventLog]
  241. AddReg = Driver_EventLog_Registry
  242.  
  243. ; User-defined Registry section
  244. ; Registry settings for the event-logging of the device driver service
  245. ; In the contexts where this section is referenced, HKR is HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\%Driver.EventLog.Type%\%Driver.EventLog.Name% --hpreg
  246. [Driver_EventLog_Registry]
  247.  ; XXX Shouldn't the 2nd path begin with %12% or some other dir-id? We should
  248.  ;     not hard-code the system's driver's directory --hpreg
  249.  HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\vmnetx.sys"
  250.  HKR,, TypesSupported, 0x00010001, 7
  251.  
  252. ; User-defined Service section
  253. ; Information for installing the dhcpd service --hpreg
  254. [Dhcpd_Service]
  255.  DisplayName    = %Dhcpd.Service.DispName%
  256.  Description    = %Dhcpd.Service.Desc%
  257.  ServiceType    = 16   ; SERVICE_WIN32_OWN_PROCESS
  258.  StartType      = 2    ; SERVICE_AUTO_START
  259.  ErrorControl   = 1    ; SERVICE_ERROR_NORMAL
  260.  ServiceBinary  = %11%\vmnetdhcp.exe
  261.  Dependencies    = VMnet        ; depends on VMnet driver/service running
  262.  AddReg         = Dhcpd_Service_Registry
  263.  
  264. ; User-defined Registry section
  265. ; Registry settings for the dhcpd service
  266. ; In the contexts where this section is referenced, HKR is HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\%Dhcpd.Service.Name% --hpreg
  267. [Dhcpd_Service_Registry]
  268.  HKR, Parameters, ConfFile,  0x00020000, "%%SystemRoot%%\System32\vmnetdhcp.conf"
  269.  HKR, Parameters, LeaseFile, 0x00020000, "%%SystemRoot%%\System32\vmnetdhcp.leases"
  270.  
  271. ; User-defined EventLog section
  272. ; Setup of the event-logging of the dhcpd service --hpreg
  273. [Dhcpd_EventLog]
  274.  AddReg = Dhcpd_EventLog_Registry
  275.  
  276. ; User-defined Registry section
  277. ; Registry settings for the event-logging of the dhcpd service
  278. ; In the contexts where this section is referenced, HKR is HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\%Dhcpd.EventLog.Type%\%Dhcpd.EventLog.Name% --hpreg
  279. [Dhcpd_EventLog_Registry]
  280.  ; XXX This assume that we have installed the executable in that
  281.  ;     directory --hpreg
  282.  HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\vmnetdhcp.exe"
  283.  HKR,, TypesSupported, 0x00010001, 7
  284.  
  285. ; System-defined section
  286. ; Last section by convention --hpreg
  287. [Strings]
  288.  ; Constants
  289.  Driver.Service.Name      = "VMnetx"
  290.  Driver.EventLog.Type     = "System" ; default value
  291.  Driver.EventLog.Name     = "VMnetx" ; default value
  292.  Dhcpd.Service.Name       = "VMnetDHCP"
  293.  Dhcpd.EventLog.Type      = "System" ; default value
  294.  Dhcpd.EventLog.Name      = "VMnetDHCP" ; default value
  295.  ; Localization (default locale)
  296.  CompanyName              = "VMware, Inc."
  297.  VMnet0.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet0)"
  298.  VMnet1.DeviceDesc        = "VMware Virtual Ethernet Adapter (basic host-only support for VMnet1)"
  299.  VMnet2.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet2)"
  300.  VMnet3.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet3)"
  301.  VMnet4.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet4)"
  302.  VMnet5.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet5)"
  303.  VMnet6.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet6)"
  304.  VMnet7.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet7)"
  305.  VMnet8.DeviceDesc        = "VMware Virtual Ethernet Adapter (VMnet8 NAT)"
  306.  VMnet9.DeviceDesc        = "VMware Virtual Ethernet Adapter (for VMnet9)"
  307.  Driver.Service.DispName  = "VMware Virtual Ethernet Adapter Driver"
  308.  Driver.Service.Desc      = "Driver for VMware's virtual ethernet adapters"
  309.  Dhcpd.Service.DispName   = "VMware DHCP Server"
  310.  Dhcpd.Service.Desc       = "DHCP Server for VMware's virtual ethernet segments"
  311.